package demo.shardingspere;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;


/**
 * 启动程序
 *
 * @author ruoyi
 */
@MapperScan("demo.shardingspere.**.mapper")
@SpringBootApplication
public class DemoShardingSphereApp
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(DemoShardingSphereApp.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  战略系统启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "  _________ __                 __                       \n" +
                " /   _____//  |_____________ _/  |_  ____   ____ ___.__.\n" +
                " \\_____  \\\\   __\\_  __ \\__  \\\\   __\\/ __ \\ / ___<   |  |\n" +
                " /        \\|  |  |  | \\// __ \\|  | \\  ___// /_/  >___  |\n" +
                "/_______  /|__|  |__|  (____  /__|  \\___  >___  // ____|\n" +
                "        \\/                  \\/          \\/_____/ \\/   ");
    }
}
